<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="../css/reset.css" rel="stylesheet" type="text/css" />
<style>
	.placeholder {color: #999;text-align: left}
</style>
<style>html,body{ height: 100%;overflow: hidden;}</style>

<script src="../js/jquery.js"></script>
<script src="../js/jquery.placeholder.js"></script>
<script src="../js/iPlaceholder.js"></script>
<script src="../js/config.js"></script>
<script src="../js/account.js"></script>
<script src="../js/common.js"></script>
<script src="../js/utils.js"></script>
<script src="../js/dzdak.js"></script>

<script type="text/jscript">
//注册表的网页打印路径
var hkey_root="HKEY_CURRENT_USER";
var hkey_path="\\Software\\Microsoft\\Internet Explorer\\PageSetup\\";
var hkey_key;    
    
        //打印指定区域
        function DoPrint()
        {   
     //直接调用WebBrowser的打印，要打印预览的话是ExecWB(7,1)
     document.all.WebBrowser.ExecWB(6,1);
        }
     
//设置纸张方向
function SetupLandscape()
{
     try{
   var wsShell= new ActiveXObject("WScript.Shell");
   
   //打印页面的Menubar必须可见，此操作类似按键盘上的Alt+F+U也就是 调出页面设置对话框
   wsShell.sendKeys('%fu');
   //此操作类似按键盘上的Alt+A也就是 设置横向打印
   wsShell.sendKeys('%a');
   //此操作类似按键盘上的回车 页面设置对话框的默认焦点在 确定上 所以直接确定
   wsShell.sendKeys('{ENTER}');
     }
     catch(e){}
}

//设置默认的页眉页脚
function SetupPage()
{
     
   var RegWsh = new ActiveXObject("WScript.Shell");
   hkey_key="header"
   RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"&w&b页码，&p/&P")
   hkey_key="footer"
   
   try{
   RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"&b&d") //去掉了&u 因为我不想显示当前打印页的网址
   hkey_key="margin_bottom";
   alert(RegWsh.RegRead(hkey_root+hkey_path+"margin_left"));
   RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"0.74"); //0.39相当于把页面设置里面的边距设置为10
   hkey_key="margin_left";
   RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"0.74");
   hkey_key="margin_right";
   RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"0.74");
   hkey_key="margin_top";
   RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"0.74");
   }catch(e){}
}

//setTimeout("SetupPage()",500);
    </script>
</head>

<body>
<div class="main">
	<div class='main_tool'>
		<div class="nav">
	    	您当前的位置： <span class="par" id="menuName">纳税人基本资料</span> &gt;&gt; <span class="pag" id="childMenuName">税务登记证</span>
	    </div>
	    <div class="toolbar">
	    	<div class="fl toolbtn">
	        	<button class="printBtn" onclick="javascript:utils.printImage();" title="打印"></button>
	        </div>
	        <div class="tooltext">
	        	<span style="float:left;margin-right:5px;padding-top:5px;">请输入查询条件：</span>
	        	<!-- <input type="radio" id="nsrsbhRadio" name="radSearch" onchange="dzdak.changeRadio('nsrsbhRadio')" style="padding-top:5px;float:left; margin-right:10px;" /> -->
	        	<input type="text" id="taxpayerId" class="searchText" placeholder="请输入关键字" title="请输入【纳税人名称】 或 【纳税人识别号】 或 【档案编号】 进行查询" />
	        	<!-- <input type="radio" id="nsrmcRadio" name="radSearch" onchange="dzdak.changeRadio('nsrmcRadio')" style="padding-top:5px;float:left; margin-right:10px;" />
	        	<input type="text" id="taxpayerName" class="searchText" placeholder="纳税人名称" /> -->
	        	<button class="searchBtn" title="查询" onclick="dzdak.getImage();"></button>
	        </div>
	       <!--  <div class="toolinfo">
	        	当前用户：<span id="login_username">系统管理员</span>&nbsp;&nbsp;&nbsp;<span id="systime">javascript:tick()</span>
	        </div> -->
	    </div>
    </div>
	<div class="tableWrap" style="text-align:center;">
		<iframe src ="" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" id="formPage" name="formPage"  width="1000" height="1000"></iframe> 
	</div>
</div>

</body>
</html>
